import { ScrollView, View } from "@tarojs/components"
import $style from './index.module.scss'

export default (props:{children:any; footer:any}) => {
    return <View className={$style.page}>
        <View className={$style.body}>{props.children}
            {/* <ScrollView scrollY style='height:100%;'>
                {props.children}
            </ScrollView> */}
        </View>
        <View className={$style.footer}>
            {props.footer}
        </View>
    </View>
}